<?php
	header("Content-Type: text/html;charset=utf-8");
	include("function/_nosql.php"); //
	include("function/function.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>志愿者联盟_<?= $web_titles ?></title>
<meta name="Keywords" content="志愿者联盟,<?= $web_keywords ?>" />
<meta name="Description" content="<?= $web_description ?>" />
<link rel="stylesheet" href="css/common.css"/>
<link rel="stylesheet" href="css/style.css"/>
<script type="text/javascript" src="js/baidutongji.js"></script>
</head>
<body>
    <!--top-bar begin-->
	<? include("_include.top.topbar.php") ?>
    <!--top-bar end-->
    <!--header begin-->
	<? include("_include.top.navbar.php") ?>
    <!--banner begin-->
    <!--banner begin-->
    <div class="inner-banner1">
        <div class="inner-pic"><img src="images/ban1.jpg" alt=""/></div>
        <!--<div class="search-wap">
            <div class="search-box">
			<form name="SearchForm" id="SearchForm" method="post" action="active_search.php">
                <input type="text" class="search-text input_wby" holdplace="搜索目的地/攻略/活动" name="search_text"/>
                <input type="submit" class="search-send" value=""/>
			</form>
            </div>
        </div>-->
    </div>
    <!--banner end-->
    <!--活动 begin-->
    <div class="f-item-box">
        <div class="content">
            <div class="bd-content pt35">
                <div class="con-pane on">
                    <div class="g-con">
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3>志愿者联盟介绍</h3>
                                <div class="line"></div>
                            </div>
                            <div class="history_con">
                                <div class="con">
                                     <?=getClassName("kboy_news","news_content","news_bigclass=207")?>
                                </div>
                                <div class="more" style="display:none;"><a href="javascript:;">展开&gt;&gt;</a></div>
                            </div>
                        </div>
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3><?=getClassName("kboy_news","news_title","news_bigclass=97")?></h3>
                                <div class="line"></div>
                            </div>
                            <div class="history_con">
                                <div class="con">
                                    <?=getClassName("kboy_news","news_content","news_bigclass=97")?>
                                </div>
                                <div class="more" style="display:none"><a href="javascript:;">展开&gt;&gt;</a></div>
                            </div>
                        </div>
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3>CVA志愿者风采</h3>
                                <div class="line"></div>
                            </div>
                            <div class="cva-box-1">
                                <div class="cva-zyz-box">
								<?php
									$i = 1;
									$N_ClassID = 98;
									$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 20";
									$news_rows = mysql_query($news_sql);
									while($news_rs = mysql_fetch_array($news_rows)){
										if($i == 1){
											$class_str = " cur";
										}else{
											$class_str = "";
										}
								?>
										<div class="top-team-info<?=$class_str?>" data-id="<?=$news_rs['id']?>">
											<div class="taam-info-l"><a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['news_pic']?>" width="630" height="360" alt=""/></a></div>
											<div class="taam-info-r">
												<h3><?=$news_rs['news_title']?></h3>
												<div class="con">
													<?=$news_rs['news_text']?></p>
													<a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank" class="more">更多&gt;&gt;</a>
												</div>
											</div>
										</div>
								<?php
									$i ++ ;
									}
								?>
										<div class="team-list">
											<div class="hd">
												<a class="next"></a>
												<a class="prev"></a>
											</div>
											<div class="bd">
												<ul>
								<?php
									$i = 1;
									$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 20";
									$news_rows = mysql_query($news_sql);
									while($news_rs = mysql_fetch_array($news_rows)){
										if($i == 1){
											$class_str = " class=\"cur\"";
										}else{
											$class_str = "";
										}
								?>
											<li data-id="<?=$news_rs['id']?>"<?=$class_str?>>
												<a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank">
													<div class="team-intro">
														<div class="pic"><img src="<?=$news_rs['news_pic']?>" width="120" height="120" alt=""/></div>
														<div class="info">
															<p class="p-name"><?=$news_rs['news_title']?></p>
														</div>
													</div>
												</a>
											</li>
								<?php
									}
								?>
												</ul>
											</div>
										</div>
                                </div>
                                <div class="ask-zyz">
                                    <p>志愿者系统和会员系统挂钩，够一定资格就可以申请成为志愿者</p>
                                    <a href="about.php?newsid=248" class="go-zyz">申请成为志愿者&gt;&gt;</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--foot begin-->
	<? include("_include.bottom.footbar.php") ?>
    <!--foot begin-->
    <!--左侧悬浮 begin-->
	<? include("_include.bottom.leftbar.php") ?>
    <!--左侧悬浮 end-->
    <!--右侧悬浮导航 begin-->
	<? include("_include.bottom.rightbar.php") ?>
    <!--右侧悬浮导航 end-->
    <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
    <script type="text/javascript" src="js/ivv.js"></script>
</body>
</html>
